package org.clockworkmages.games.anno1186.situations.sexsettings.options;

import org.clockworkmages.games.anno1186.GameBeansContext;
import org.clockworkmages.games.anno1186.GameStateService;
import org.clockworkmages.games.anno1186.model.option.Option;
import org.clockworkmages.games.anno1186.situations.sexsettings.SexSettingsSituation;

public class SexSettingsOption
		extends Option {

	public static SexSettingsOption INSTANCE = new SexSettingsOption();

	private SexSettingsOption() {
		super("SEXSETTINGS");
		this.setLabel("Sex settings");
	}

	@Override
	public void select() {

		SexSettingsSituation situation = new SexSettingsSituation();
		GameStateService gameStateService = GameBeansContext
				.getBean(GameStateService.class);
		gameStateService.addSituation(situation, true);
		super.select();
	}
}
